package com.ruoyi.reply.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 答辩对象 tb_reply
 * 
 * @author sun
 * @date 2023-01-30
 */
public class TbReply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer replyId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 答辩主题 */
    @Excel(name = "答辩主题")
    private String replySubject;

    /** 答辩类型ID */
    @Excel(name = "答辩类型ID")
    private Integer rtypeId;

    /** 答辩内容 */
    @Excel(name = "答辩内容")
    private String content;

    /** 答辩类型名称 */
    @Excel(name = "答辩类型名称")
    private String rtypeName;

    /** 答辩结果 */
    @Excel(name = "答辩结果")
    private Integer resultId;

    /** 论文状态0：存在，2：删除 */
    @Excel(name = "论文状态0：存在，2：删除")
    private Integer thesisState;

    /** 删除状态0：存在，2：删除 */
    private Integer delFlag;

    public void setReplyId(Integer replyId) 
    {
        this.replyId = replyId;
    }

    public Integer getReplyId() 
    {
        return replyId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setReplySubject(String replySubject) 
    {
        this.replySubject = replySubject;
    }

    public String getReplySubject() 
    {
        return replySubject;
    }
    public void setRtypeId(Integer rtypeId) 
    {
        this.rtypeId = rtypeId;
    }

    public Integer getRtypeId() 
    {
        return rtypeId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setRtypeName(String rtypeName) 
    {
        this.rtypeName = rtypeName;
    }

    public String getRtypeName() 
    {
        return rtypeName;
    }
    public void setResultId(Integer resultId) 
    {
        this.resultId = resultId;
    }

    public Integer getResultId() 
    {
        return resultId;
    }
    public void setThesisState(Integer thesisState) 
    {
        this.thesisState = thesisState;
    }

    public Integer getThesisState() 
    {
        return thesisState;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("replyId", getReplyId())
            .append("userId", getUserId())
            .append("replySubject", getReplySubject())
            .append("rtypeId", getRtypeId())
            .append("content", getContent())
            .append("rtypeName", getRtypeName())
            .append("resultId", getResultId())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("thesisState", getThesisState())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
